package com.example.foobar.business.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.example.foobar.entity.DyComment;
import com.example.foobar.entity.DyVideo;
import com.example.foobar.param.DyCommentPageParam;
import com.example.foobar.param.DyVideoPageParam;
import com.example.foobar.vo.DyVideoQueryVo;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

import java.util.List;

public interface DyVideoService {

    boolean saveDyVideo(DyVideo dyVideo);

    boolean updateDyVideo(DyVideo dyVideo);

    boolean deleteDyVideo(Long id);

    DyVideo getById(Long id);

    Paging<DyVideoQueryVo> getDyVideoPageList(DyVideoPageParam dyVideoPageParam);

    List<DyVideo> list(LambdaQueryWrapper<DyVideo> dyVideoLambdaQueryWrapper);

}
